package com.hqj.consumer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages = {"com.hqj.consumer.service"})//扫描一个feign接口
public class ConsumerStarter9002 {

    public static void main(String[] args) {
        SpringApplication.run(ConsumerStarter9002.class,args);
    }
}
